<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dynamic Inline Form Validation Demo</title>
<link rel="stylesheet" type="text/css" href="<?=base_url()?>css/reg_form.css" />
<script type="text/javascript" src="<?=base_url()?>css/js/reg_form.js"></script>
<script type="text/javascript">
function tes(){
alert("helo");
}
</script>
</head>
<body>
<div id="wrapper3">
  <form name="form" id="form" class="form" action="success.html" onsubmit="return validate(this)" method="post">
    <table cellspacing="10">
	<tr>
		<td><label for="name">Nama</label></td>
		<td><input type="text" name="name" id="name" size="35" /><br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="email">Email</label></td>
		<td><input type="text" name="email" id="email" size="35"  /><br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="gender">Jenis Kelamin</label></td>
		<td><select name="gender" id="gender">
		  <option value ="">Pilih</option>
		  <option value ="male">Pria</option>
		  <option value ="female">Wanita</option>
		</select><br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="alamat">Alamat</label></td>
		<td><textarea cols="20" name="alamat" id="alamat" rows="3" wrap="hard"></textarea><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="kota">Kota</label></td>
		<td><input type="text" name="kota" id="kota" size="15" /><br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="kodepos">Kodepos</label></td>
		<td><input type="text" name="kodepos" id="kodepos" size="15" /></td>
	</tr>
	<tr>
		<td>_______________________</td>
		<td>_____________________________________</td>
	</tr>
	<tr>
		<td><label for="username">Username</label></td>
		<td><input type="text" name="username" id="username" size="30"/> <br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="password">Password </label></td>
		<td><input type="text" name="password" id="password" size="30"/><br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><label for="konf_password">Konf Password</label></td>
		<td><input type="text" name="konf_password" id="konf_password" size="30" /><br><img src="<?=base_url()?>css/icon/penting.png"/></td>
	</tr>
	<tr>
		<td><input type="submit" value="Submit" class="btem" /></td>
		<td><input type="reset" value="Clear" class="btem" /></td>
	</tr>
	</table>
  </form>
</div>
</body>
</html>